﻿using UnityEngine;
using System.Collections;
using Tool;

public class EasyTouchTool :MonoBehaviour
{
    static private EasyTouchTool tool;
    static public EasyTouchTool Instance
    {
        get
        {
            return tool;
        }
    }

    void Awake()
    {
        tool = this;
    }

    void Start()
    {
        TouchKit.SetEnabled(false);
    }

    public void ShowJoystick()
    {
        TouchKit.SetEnabled(true);
    }

    public bool Enable
    {
        get
        {
            return TouchKit.GetEnabled();
        }
    }

    public void Hide()
    {
        TouchKit.SetEnabled(false);
    }
    
}
